package com.pig4cloud.pig.module.service.splitAccount;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.module.api.entity.splitAccount.SplitAccount;

/**
 * 分成账户Service接口
 *
 * @author ruoyi
 * @date 2021-09-08
 */
public interface ISplitAccountService extends IService<SplitAccount> {

	/**
	 *
	 * @param userId
	 * @param accountType
	 * @param accountId
	 * @return
	 */
	SplitAccount getAccountByUserId(int userId, int accountType, int accountId);

	/**
	 *  获取商家 的管理员账户
	 * @param merId
	 * @return
	 */
	SplitAccount getAdminAccountByType(int merId,int accountType);

}
